import Mock from 'mockjs'

Mock.mock('/upload/markdown', 'post', (options) => {
    console.log(options);
    return {
        code: 200,
        msg: '上传成功',
        data: {
            id: '123',
            title: '测试文章',
            content: '这是测试文章的内容',
            createTime: '2023-01-01 12:00:00',
            updateTime: '2023-01-01 12:00:00',
        },
    }
})